package model;

/**
 *
 * @author BACQ Justine et SACRE Sauvane
 */
public class Composant {

    private String nomComposant;
    private Medicament medoc;

    public Composant(String nom, Medicament medoc) {
        nomComposant = nom;
        this.medoc = medoc;
    }

    //getteur
    public String getNomComposant() {
        return nomComposant;
    }

    public Medicament getMedoc() {
        return medoc;
    }

    //Setteur
    public void setNomComposant(String nomComposant) {
        this.nomComposant = nomComposant;
    }

    public void setMedoc(Medicament medoc) {
        this.medoc = medoc;
    }
}
